package com.yss.ams.demo.service;

import com.yss.ams.demo.mapper.UserMapper;
import com.yss.ams.demo.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author shenyao
 * @date 2021/3/28
 * @description:
 */
@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public List<User> queryUserInfo() {
        return userMapper.queryUserInfo();
    }
}
